package org.bigdata.zc.mongo;

import lombok.Data;
import org.bigdata.zc.CaculateModel;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

/**
 * Created by Stephen on 2017/10/29.
 */
@Data
@Document(collection = "matchScheduleWin")
public class MatchScheduleWin {
    @Id
    String id;

    String cupId;

    String cupName;

    int homeId;

    int visitingId;
    //比赛时间
    Date matchTime;
    //主队
    String homeTeam;
    //客队
    String visitingTeam;
    //赛程ID
    String scheduleId;
    //主队进球
    int homeScore;
    //客队进球
    int visitingScore;
    //半场主队进球
    int halfHomeScore;
    //半场客队进球
    int halfVisitingScore;
    //让球
    String rangq;
    //设置结果
    CaculateModel caculateModel;


}
